set n=260

for /L %%a in (1, 1, %n%) do (
echo %%a
IF %%a LEQ 9 (
start cmd.exe @cmd /k "plink azureuser@stile0%%a.cloudapp.net -pw sTile@40 kill -9 `pgrep java`"	
)
IF %%a GEQ 10 IF %%a LEQ 20 (
start cmd.exe @cmd /k "plink azureuser@stile%%a.cloudapp.net -pw sTile@40 kill -9 `pgrep java`"	
)
IF %%a GEQ 21 IF %%a LEQ 40 (
start cmd.exe @cmd /k "plink lemduc@stile%%a.cloudapp.net -pw Meocon@)13 kill -9 `pgrep java`"	
)
IF %%a GEQ 41 IF %%a LEQ 60 (
start cmd.exe @cmd /k "plink azureuser@stile%%a.cloudapp.net -pw sTile@40 kill -9 `pgrep java`"	
)
IF %%a GEQ 81 IF %%a LEQ 100 (
start cmd.exe @cmd /k "plink azureuser@stile%%a.cloudapp.net -pw sTile@40 kill -9 `pgrep java`"	
)

IF %%a GEQ 241 IF %%a LEQ 260 (
start cmd.exe @cmd /k "plink azureuser@stile%%a.cloudapp.net -pw sTile@40 kill -9 `pgrep java`"	
)

)
